package com.gitee.wsl.io.file

enum class FileExtension(
    private val extension: String
) {

    MP3("mp3"),
    OGG("ogg"),
    WAV("wav"),
    WMA("wma"),
    ZIP("zip");

    fun isCompliant(path: String): Boolean {
        return path.lowercase().endsWith(".$extension")
    }
}